home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000024_welch@parc.xerox.com _Fri Dec 6 18:56:17 1991.msg < prev    next >
Internet Message Format  |  1994-01-24  |  3KB

  1. Return-Path: <welch@parc.xerox.com>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA04914; Fri, 6 Dec 91 18:56:17 GMT+0100
  4. Received: by dxmint.cern.ch (cernvax) (5.57/3.14)
  5.     id AA00186; Fri, 6 Dec 91 18:45:04 +0100
  6. Received: from corvina.parc.xerox.com ([13.2.116.10]) by alpha.xerox.com with SMTP id <11798>; Fri, 6 Dec 1991 09:48:42 PST
  7. Received: by corvina.parc.xerox.com id <36899>; Fri, 6 Dec 1991 09:46:21 -0800
  8. Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.corvina.parc.xerox.com.sun4.40
  9.           via MS.5.6.corvina.parc.xerox.com.sun4_40;
  10.           Fri,  6 Dec 1991 09:46:19 -0800 (PST)
  11. Message-Id: <IdDvRfgB0bE_87aBRm@corvina.parc.xerox.com>
  12. Date:     Fri, 6 Dec 1991 09:46:19 PST
  13. Sender: Brent Welch <welch@parc.xerox.com>
  14. From: Brent Welch <welch@parc.xerox.com>
  15. To: connolly@pixel.convex.com
  16. Subject: Re: documents, files, types, and access methods
  17. Cc: wais-talk@think.com, www-talk@nxoc01.cern.ch, tcl@allspice.berkeley.edu
  18. In-Reply-To: <9112051816.AA29899@pixel.convex.com>
  19. References: <9112051816.AA29899@pixel.convex.com>
  20.  
  21. The model that TCL has it that each tool has an embedded TCL
  22. interpreter, and tools can issue commands to each other in the TCL
  23. language.  TCL is designed to be simple for simple things, and it is
  24. fully programmable.  TCL provides basic language features, and the
  25. application that embeds an interpreter can define new commands, either
  26. as C procedures or as TCL command procedures (scripts).  For example,
  27. the Tk X toolkit defines a number of TCL commands to create widgets, so
  28. it is possible to write window programs with a script.  Since each
  29. window (ideally) has a TCL interpreter behind it, you can control your
  30. tools by sending around TCL commands.  This is a more powerful
  31. alternative to using mail header formats for messages. You can send
  32. whole programs, not just commands.  The way I use this currently is to
  33. couple a control panel with a shell window.  The control panel is put
  34. together as a TCL/Tk script that uses the Tk toolkit to display buttons,
  35. etc.  Clicking on buttons in the control panel can cause messages to be
  36. sent to the terminal emulator (tx).  One very useful command passes a
  37. string along to the shell running in the terminal emulator.  In this way
  38. I can create buttons that run commonly used programs.  Other commands
  39. control the terminal emulator itself, such as its size and placement on
  40. the screen, the message in its status line, etc.  The whole model of a
  41. bunch of tools that have a common language and can fire off commands to
  42. each other is very powerful.
  43.  
  44.     Brent Welch